home *** CD-ROM | disk | FTP | other *** search
/ CD Fun House 1 / CD Fun House (Wayzata Technology).iso / •Games Parlour• / •Strategy• / Hex 1.0 •••• / Hex 1.0 ееее.rsrc / CODE_1.txt < prev    next >
Text File  |  1988-12-30  |  46KB  |  839 lines

  1. # near model CODE resource
  2. # jump table entries: 8-12 (5 of them)
  3. label00000000:
  4. 00000000  0640 F840                addi.w     D0, 0xF840
  5. 00000004  A9C9                     syscall    SysError
  6. 00000006  204F                     movea.l    A0, A7
  7. 00000008  48E7 1800                movem.l    -[A7], D3,D4
  8. 0000000C  260E                     move.l     D3, A6
  9. 0000000E  2808                     move.l     D4, A0
  10. 00000010  6106                     bsr        +0x8 /* 00000018 */
  11. 00000012  4CDF 0018                movem.l    D3,D4, [A7]+
  12. 00000016  4E75                     rts
  13. fn00000018:
  14. 00000018  2F0B                     move.l     -[A7], A3
  15. 0000001A  242D FFB2                move.l     D2, [A5 - 0x4E]
  16. label0000001E:
  17. 0000001E  6604                     bne        +0x6 /* 00000024 */
  18. 00000020  265F                     movea.l    A3, [A7]+
  19. 00000022  4E75                     rts
  20. label00000024:
  21. 00000024  2642                     movea.l    A3, D2
  22. 00000026  B7C3                     cmpa.l     A3, D3
  23. 00000028  6204                     bhi        +0x6 /* 0000002E */
  24. 0000002A  B7C4                     cmpa.l     A3, D4
  25. 0000002C  6206                     bhi        +0x8 /* 00000034 */
  26. label0000002E:
  27. 0000002E  242B 0000                move.l     D2, [A3 + 0x0]
  28. 00000032  60EA                     bra        -0x14 /* 0000001E */
  29. label00000034:
  30. 00000034  4EBA 0148                jsr        [PC + 0x148 /* 0000017E */]
  31. 00000038  4A2B 0006                tst.b      [A3 + 0x6]
  32. 0000003C  6710                     beq        +0x12 /* 0000004E */
  33. 0000003E  41FA 0170                lea.l      A0, [PC + 0x170 /* 000001B0, value 0x431, cstring "" */]
  34. 00000042  30AB 0012                move.w     [A0], [A3 + 0x12]
  35. 00000046  41FA 0160                lea.l      A0, [PC + 0x160 /* 000001A8, value 0x94C5350 '\tLSP', cstring "\    LSPTemp" */]
  36. 0000004A  4EBA 0104                jsr        [PC + 0x104 /* 00000150 */]
  37. label0000004E:
  38. 0000004E  242B 0000                move.l     D2, [A3 + 0x0]
  39. 00000052  4EBA 001C                jsr        [PC + 0x1C /* 00000070 */]
  40. 00000056  4A82                     tst.l      D2
  41. 00000058  60C4                     bra        -0x3A /* 0000001E */
  42. fn0000005A:
  43. 0000005A  2F00                     move.l     -[A7], D0
  44. 0000005C  200B                     move.l     D0, A3
  45. 0000005E  C0B8 031A                and.l      D0, [0x0000031A /* MaskBC/MaskHandle/MaskPtr/Lo3Bytes */]
  46. 00000062  276D FFB2 0000           move.l     [A3 + 0x0], [A5 - 0x4E]
  47. 00000068  2B40 FFB2                move.l     [A5 - 0x4E], D0
  48. 0000006C  201F                     move.l     D0, [A7]+
  49. 0000006E  4E75                     rts
  50. fn00000070:
  51. 00000070  2F01                     move.l     -[A7], D1
  52. 00000072  220B                     move.l     D1, A3
  53. 00000074  C2B8 031A                and.l      D1, [0x0000031A /* MaskBC/MaskHandle/MaskPtr/Lo3Bytes */]
  54. 00000078  43ED FFB2                lea.l      A1, [A5 - 0x4E]
  55. label0000007C:
  56. 0000007C  2011                     move.l     D0, [A1]
  57. 0000007E  6710                     beq        +0x12 /* 00000090 */
  58. 00000080  B081                     cmp.l      D0, D1
  59. 00000082  6704                     beq        +0x6 /* 00000088 */
  60. 00000084  2240                     movea.l    A1, D0
  61. 00000086  60F4                     bra        -0xA /* 0000007C */
  62. label00000088:
  63. 00000088  2040                     movea.l    A0, D0
  64. 0000008A  2290                     move.l     [A1], [A0]
  65. 0000008C  221F                     move.l     D1, [A7]+
  66. 0000008E  4E75                     rts
  67. label00000090:
  68. 00000090  303C F436                move.w     D0, 0xF436
  69. 00000094  A9C9                     syscall    SysError
  70. 00000096  610A                     bsr        +0xC /* 000000A2 */
  71. 00000098  6702                     beq        +0x4 /* 0000009C */
  72. 0000009A  4E75                     rts
  73. label0000009C:
  74. 0000009C  303C F437                move.w     D0, 0xF437
  75. 000000A0  A9C9                     syscall    SysError
  76. fn000000A2:
  77. 000000A2  48E7 4080                movem.l    -[A7], D1,A0
  78. 000000A6  202D FFB2                move.l     D0, [A5 - 0x4E]
  79. 000000AA  6710                     beq        +0x12 /* 000000BC */
  80. 000000AC  220B                     move.l     D1, A3
  81. 000000AE  C2B8 031A                and.l      D1, [0x0000031A /* MaskBC/MaskHandle/MaskPtr/Lo3Bytes */]
  82. label000000B2:
  83. 000000B2  B081                     cmp.l      D0, D1
  84. 000000B4  670E                     beq        +0x10 /* 000000C4 */
  85. 000000B6  2040                     movea.l    A0, D0
  86. 000000B8  2010                     move.l     D0, [A0]
  87. 000000BA  66F6                     bne        -0x8 /* 000000B2 */
  88. label000000BC:
  89. 000000BC  4CDF 0102                movem.l    D1,A0, [A7]+
  90. 000000C0  7000                     moveq.l    D0, 0x00
  91. 000000C2  4E75                     rts
  92. label000000C4:
  93. 000000C4  4CDF 0102                movem.l    D1,A0, [A7]+
  94. 000000C8  7001                     moveq.l    D0, 0x01
  95. 000000CA  4E75                     rts
  96. 000000CC  2F08                     move.l     -[A7], A0
  97. 000000CE  4FEF FFCE                lea.l      A7, [A7 - 0x32]
  98. 000000D2  42AF 000C                clr.l      [A7 + 0xC]
  99. 000000D6  2F48 0012                move.l     [A7 + 0x12], A0
  100. 000000DA  426F 0016                clr.w      [A7 + 0x16]
  101. 000000DE  426F 001A                clr.w      [A7 + 0x1A]
  102. 000000E2  41EB 0016                lea.l      A0, [A3 + 0x16]
  103. 000000E6  2F48 001C                move.l     [A7 + 0x1C], A0
  104. 000000EA  204F                     movea.l    A0, A7
  105. 000000EC  A000                     syscall    Open/PBHOpen/HOpen
  106. 000000EE  376F 0018 0004           move.w     [A3 + 0x4], [A7 + 0x18]
  107. 000000F4  4FEF 0032                lea.l      A7, [A7 + 0x32]
  108. 000000F8  205F                     movea.l    A0, [A7]+
  109. 000000FA  4A40                     tst.w      D0
  110. 000000FC  671A                     beq        +0x1C /* 00000118 */
  111. 000000FE  0C40 FFD5                cmpi.w     D0, 0xFFD5
  112. 00000102  6604                     bne        +0x6 /* 00000108 */
  113. 00000104  7001                     moveq.l    D0, 0x01
  114. 00000106  4E75                     rts
  115. label00000108:
  116. 00000108  0C40 FFE9                cmpi.w     D0, 0xFFE9
  117. 0000010C  6600 FEF2                bne        -0x10C /* 00000000 */
  118. 00000110  4A2B 0011                tst.b      [A3 + 0x11]
  119. 00000114  6700 FEEA                beq        -0x114 /* 00000000 */
  120. label00000118:
  121. 00000118  7000                     moveq.l    D0, 0x00
  122. 0000011A  4E75                     rts
  123. 0000011C  2F08                     move.l     -[A7], A0
  124. 0000011E  4FEF FFCE                lea.l      A7, [A7 - 0x32]
  125. 00000122  42AF 000C                clr.l      [A7 + 0xC]
  126. 00000126  2F48 0012                move.l     [A7 + 0x12], A0
  127. 0000012A  426F 0016                clr.w      [A7 + 0x16]
  128. 0000012E  426F 001A                clr.w      [A7 + 0x1A]
  129. 00000132  204F                     movea.l    A0, A7
  130. 00000134  A008                     syscall    Create/PBHCreate/HCreate
  131. 00000136  4FEF 0032                lea.l      A7, [A7 + 0x32]
  132. 0000013A  205F                     movea.l    A0, [A7]+
  133. 0000013C  4A40                     tst.w      D0
  134. 0000013E  670C                     beq        +0xE /* 0000014C */
  135. 00000140  0C40 FFD0                cmpi.w     D0, 0xFFD0
  136. 00000144  6600 FEBA                bne        -0x144 /* 00000000 */
  137. 00000148  7001                     moveq.l    D0, 0x01
  138. 0000014A  4E75                     rts
  139. label0000014C:
  140. 0000014C  7000                     moveq.l    D0, 0x00
  141. 0000014E  4E75                     rts
  142. fn00000150:
  143. 00000150  2F08                     move.l     -[A7], A0
  144. 00000152  4FEF FFCE                lea.l      A7, [A7 - 0x32]
  145. 00000156  42AF 000C                clr.l      [A7 + 0xC]
  146. 0000015A  2F48 0012                move.l     [A7 + 0x12], A0
  147. 0000015E  426F 0016                clr.w      [A7 + 0x16]
  148. 00000162  426F 001A                clr.w      [A7 + 0x1A]
  149. 00000166  204F                     movea.l    A0, A7
  150. 00000168  A009                     syscall    Delete/PBHDelete/HDelete
  151. 0000016A  4FEF 0032                lea.l      A7, [A7 + 0x32]
  152. 0000016E  205F                     movea.l    A0, [A7]+
  153. 00000170  4A40                     tst.w      D0
  154. 00000172  6708                     beq        +0xA /* 0000017C */
  155. 00000174  4A2D FFAA                tst.b      [A5 - 0x56]
  156. 00000178  6700 FE86                beq        -0x178 /* 00000000 */
  157. label0000017C:
  158. 0000017C  4E75                     rts
  159. fn0000017E:
  160. 0000017E  4A2B 0011                tst.b      [A3 + 0x11]
  161. 00000182  6622                     bne        +0x24 /* 000001A6 */
  162. 00000184  4FEF FFCE                lea.l      A7, [A7 - 0x32]
  163. 00000188  42AF 000C                clr.l      [A7 + 0xC]
  164. 0000018C  3F6B 0004 0018           move.w     [A7 + 0x18], [A3 + 0x4]
  165. 00000192  204F                     movea.l    A0, A7
  166. 00000194  A001                     syscall    Close
  167. 00000196  4FEF 0032                lea.l      A7, [A7 + 0x32]
  168. 0000019A  4A40                     tst.w      D0
  169. 0000019C  6708                     beq        +0xA /* 000001A6 */
  170. 0000019E  4A2D FFAA                tst.b      [A5 - 0x56]
  171. 000001A2  6700 FE5C                beq        -0x1A2 /* 00000000 */
  172. label000001A6:
  173. 000001A6  4E75                     rts
  174. 000001A8  094C                     bchg       A4, D4
  175. 000001AA  5350                     subq.w     [A0], 1
  176. 000001AC  5465                     addq.w     -[A5], 2
  177. 000001AE  6D70                     blt        +0x72 /* 00000220 */
  178. 000001B0  0000 0431                ori.b      D0, 0x31 /* '1' */
  179. 000001B4  2E32 4100                move.l     D7, [A2 + <<invalid base displacement size>> + D4]
  180. label000001B8:
  181. 000001B8  2038 09D6                move.l     D0, [0x000009D6 /* WindowList */]
  182. label000001BC:
  183. 000001BC  6724                     beq        +0x26 /* 000001E2 */
  184. 000001BE  2040                     movea.l    A0, D0
  185. 000001C0  0C68 7FFF 006C           cmpi.w     [A0 + 0x6C], 0x7FFF
  186. 000001C6  6708                     beq        +0xA /* 000001D0 */
  187. 000001C8  0C68 7FFE 006C           cmpi.w     [A0 + 0x6C], 0x7FFE
  188. 000001CE  660C                     bne        +0xE /* 000001DC */
  189. label000001D0:
  190. 000001D0  4A28 006E                tst.b      [A0 + 0x6E]
  191. 000001D4  6706                     beq        +0x8 /* 000001DC */
  192. 000001D6  2F08                     move.l     -[A7], A0
  193. 000001D8  A916                     syscall    HideWindow
  194. 000001DA  60DC                     bra        -0x22 /* 000001B8 */
  195. label000001DC:
  196. 000001DC  2028 0090                move.l     D0, [A0 + 0x90]
  197. 000001E0  60DA                     bra        -0x24 /* 000001BC */
  198. label000001E2:
  199. 000001E2  4E75                     rts
  200. export_3:
  201. 000001E4  207C 0000 0001           movea.l    A0, 0x1
  202. 000001EA  A03B                     syscall    Delay
  203. 000001EC  4E75                     rts
  204. 000001EE  0431 2E32 4100           subi.b     [A1 + <<invalid base displacement size>> + D4], 0x32 /* '2' */
  205. fn000001F4:
  206. 000001F4  536D FFE0                subq.w     [A5 - 0x20], 1
  207. 000001F8  3B7C 0002 FFDE           move.w     [A5 - 0x22], 0x2
  208. 000001FE  426D FFD8                clr.w      [A5 - 0x28]
  209. 00000202  42AD FFB2                clr.l      [A5 - 0x4E]
  210. 00000206  426D FFAA                clr.w      [A5 - 0x56]
  211. 0000020A  3B7C 3030 FFA8           move.w     [A5 - 0x58], 0x3030 /* '00' */
  212. 00000210  4EBA 0040                jsr        [PC + 0x40 /* 00000252 */]
  213. 00000214  4EBA 0058                jsr        [PC + 0x58 /* 0000026E */]
  214. 00000218  4EBA 00A0                jsr        [PC + 0xA0 /* 000002BA */]
  215. 0000021C  4EBA 010E                jsr        [PC + 0x10E /* 0000032C */]
  216. label00000220:
  217. 00000220  4EBA 0112                jsr        [PC + 0x112 /* 00000334 */]
  218. 00000224  2C4D                     movea.l    A6, A5
  219. 00000226  265F                     movea.l    A3, [A7]+
  220. 00000228  4A1F                     tst.b      [A7]+
  221. 0000022A  6724                     beq        +0x26 /* 00000250 */
  222. 0000022C  7600                     moveq.l    D3, 0x00
  223. 0000022E  362D 0020                move.w     D3, [A5 + 0x20]
  224. 00000232  E18B                     lsl        D3, 8
  225. 00000234  486D FE22                pea.l      [A5 - 0x1DE]
  226. 00000238  A86E                     syscall    InitGraf
  227. 0000023A  A8FE                     syscall    InitFonts
  228. 0000023C  A912                     syscall    InitWindows
  229. 0000023E  A930                     syscall    InitMenus
  230. 00000240  A9CC                     syscall    TEInit
  231. 00000242  42A7                     clr.l      -[A7]
  232. 00000244  A97B                     syscall    InitDialogs
  233. 00000246  204F                     movea.l    A0, A7
  234. 00000248  91C3                     sub.l      A0, D3
  235. 0000024A  A02D                     syscall    SetApplLimit
  236. 0000024C  4EBA 0122                jsr        [PC + 0x122 /* 00000370 */]
  237. label00000250:
  238. 00000250  4ED3                     jmp        [A3]
  239. fn00000252:
  240. 00000252  6146                     bsr        +0x48 /* 0000029A */
  241. 00000254  670A                     beq        +0xC /* 00000260 */
  242. 00000256  6B10                     bmi        +0x12 /* 00000268 */
  243. 00000258  3B7C FFF9 FFAC           move.w     [A5 - 0x54], 0xFFF9
  244. 0000025E  4E75                     rts
  245. label00000260:
  246. 00000260  3B7C FFF7 FFAC           move.w     [A5 - 0x54], 0xFFF7
  247. 00000266  4E75                     rts
  248. label00000268:
  249. 00000268  426D FFAC                clr.w      [A5 - 0x54]
  250. 0000026C  4E75                     rts
  251. fn0000026E:
  252. 0000026E  612A                     bsr        +0x2C /* 0000029A */
  253. 00000270  6710                     beq        +0x12 /* 00000282 */
  254. 00000272  6B1C                     bmi        +0x1E /* 00000290 */
  255. 00000274  3B7C FFF7 FFAE           move.w     [A5 - 0x52], 0xFFF7
  256. 0000027A  3B7C FFF8 FFB0           move.w     [A5 - 0x50], 0xFFF8
  257. 00000280  4E75                     rts
  258. label00000282:
  259. 00000282  3B7C FFF9 FFAE           move.w     [A5 - 0x52], 0xFFF9
  260. 00000288  3B7C FFFA FFB0           move.w     [A5 - 0x50], 0xFFFA
  261. 0000028E  4E75                     rts
  262. label00000290:
  263. 00000290  426D FFAE                clr.w      [A5 - 0x52]
  264. 00000294  426D FFB0                clr.w      [A5 - 0x50]
  265. 00000298  4E75                     rts
  266. fn0000029A:
  267. 0000029A  1038 0207                move.b     D0, [0x00000207 /* SPPrint */]
  268. 0000029E  6616                     bne        +0x18 /* 000002B6 */
  269. 000002A0  1038 0291                move.b     D0, [0x00000291 /* PortBUse */]
  270. 000002A4  6A04                     bpl        +0x6 /* 000002AA */
  271. label000002A6:
  272. 000002A6  7000                     moveq.l    D0, 0x00
  273. 000002A8  4E75                     rts
  274. label000002AA:
  275. 000002AA  0200 000F                andi.b     D0, 0xF
  276. 000002AE  5300                     subq.b     D0, 1
  277. 000002B0  66F4                     bne        -0xA /* 000002A6 */
  278. 000002B2  70FF                     moveq.l    D0, 0xFFFFFFFF
  279. 000002B4  4E75                     rts
  280. label000002B6:
  281. 000002B6  7001                     moveq.l    D0, 0x01
  282. 000002B8  4E75                     rts
  283. fn000002BA:
  284. 000002BA  47ED C098                lea.l      A3, [A5 - 0x3F68]
  285. 000002BE  422B 0007                clr.b      [A3 + 0x7]
  286. 000002C2  08EB 0001 0007           bset.b     [A3 + 0x7], 0x1
  287. 000002C8  177C 0002 0011           move.b     [A3 + 0x11], 0x2
  288. 000002CE  50EB 000E                st         [A3 + 0xE]
  289. 000002D2  51EB 0006                sf         [A3 + 0x6]
  290. 000002D6  50EB 000C                st         [A3 + 0xC]
  291. 000002DA  51EB 000D                sf         [A3 + 0xD]
  292. 000002DE  42AB 0008                clr.l      [A3 + 0x8]
  293. 000002E2  377C 0002 0014           move.w     [A3 + 0x14], 0x2
  294. 000002E8  177C 000D 0010           move.b     [A3 + 0x10], 0xD /* '\r' */
  295. 000002EE  4EBA FD6A                jsr        [PC - 0x296 /* 0000005A */]
  296. 000002F2  47ED BE76                lea.l      A3, [A5 - 0x418A]
  297. 000002F6  422B 0007                clr.b      [A3 + 0x7]
  298. 000002FA  08EB 0000 0007           bset.b     [A3 + 0x7], 0x0
  299. 00000300  177C 0001 0011           move.b     [A3 + 0x11], 0x1
  300. 00000306  50EB 000E                st         [A3 + 0xE]
  301. 0000030A  51EB 0006                sf         [A3 + 0x6]
  302. 0000030E  51EB 000C                sf         [A3 + 0xC]
  303. 00000312  51EB 000D                sf         [A3 + 0xD]
  304. 00000316  42AB 0008                clr.l      [A3 + 0x8]
  305. 0000031A  377C 0002 0014           move.w     [A3 + 0x14], 0x2
  306. 00000320  177C 000D 0010           move.b     [A3 + 0x10], 0xD /* '\r' */
  307. 00000326  4EBA FD32                jsr        [PC - 0x2CE /* 0000005A */]
  308. 0000032A  4E75                     rts
  309. fn0000032C:
  310. 0000032C  31FC 000D 0A4A           move.w     [0x00000A4A /* FPState */], 0xD /* '\r' */
  311. 00000332  4E75                     rts
  312. fn00000334:
  313. 00000334  42AD FFA4                clr.l      [A5 - 0x5C]
  314. 00000338  4E75                     rts
  315. fn0000033A:
  316. 0000033A  50ED FFAA                st         [A5 - 0x56]
  317. 0000033E  202D FFB2                move.l     D0, [A5 - 0x4E]
  318. label00000342:
  319. 00000342  660A                     bne        +0xC /* 0000034E */
  320. 00000344  42AD FFB2                clr.l      [A5 - 0x4E]
  321. 00000348  51ED FFAA                sf         [A5 - 0x56]
  322. 0000034C  A9F4                     syscall    ExitToShell
  323. label0000034E:
  324. 0000034E  2640                     movea.l    A3, D0
  325. 00000350  4EBA FE2C                jsr        [PC - 0x1D4 /* 0000017E */]
  326. 00000354  4A2B 0006                tst.b      [A3 + 0x6]
  327. 00000358  6710                     beq        +0x12 /* 0000036A */
  328. 0000035A  41FA FE54                lea.l      A0, [PC - 0x1AC /* 000001B0, value 0x431, cstring "" */]
  329. 0000035E  30AB 0012                move.w     [A0], [A3 + 0x12]
  330. 00000362  41FA FE44                lea.l      A0, [PC - 0x1BC /* 000001A8, value 0x94C5350 '\tLSP', cstring "\    LSPTemp" */]
  331. 00000366  4EBA FDE8                jsr        [PC - 0x218 /* 00000150 */]
  332. label0000036A:
  333. 0000036A  202B 0000                move.l     D0, [A3 + 0x0]
  334. 0000036E  60D2                     bra        -0x2C /* 00000342 */
  335. fn00000370:
  336. 00000370  4A38 028E                tst.b      [0x0000028E /* ROM85 */]
  337. 00000374  6A2A                     bpl        +0x2C /* 000003A0 */
  338. 00000376  2078 0130                movea.l    A0, [0x00000130 /* ApplLimit */]
  339. 0000037A  43F8 0114                lea.l      A1, [0x00000114 /* HeapEnd */]
  340. 0000037E  2008                     move.l     D0, A0
  341. 00000380  9091                     sub.l      D0, [A1]
  342. 00000382  740C                     moveq.l    D2, 0x0C
  343. 00000384  B082                     cmp.l      D0, D2
  344. 00000386  6516                     bcs        +0x18 /* 0000039E */
  345. 00000388  2251                     movea.l    A1, [A1]
  346. 0000038A  21C8 0114                move.l     [0x00000114 /* HeapEnd */], A0
  347. 0000038E  2280                     move.l     [A1], D0
  348. 00000390  4211                     clr.b      [A1]
  349. 00000392  2278 02AA                movea.l    A1, [0x000002AA /* ApplZone */]
  350. 00000396  2288                     move.l     [A1], A0
  351. 00000398  2082                     move.l     [A0], D2
  352. 0000039A  D1A9 000C                add.l      [A1 + 0xC], D0
  353. label0000039E:
  354. 0000039E  4E75                     rts
  355. label000003A0:
  356. 000003A0  A063                     syscall    MaxApplZone
  357. 000003A2  4E75                     rts
  358. 000003A4  0431 2E32 4100           subi.b     [A1 + <<invalid base displacement size>> + D4], 0x32 /* '2' */
  359. fn000003AA:
  360. 000003AA  225F                     movea.l    A1, [A7]+
  361. 000003AC  201F                     move.l     D0, [A7]+
  362. 000003AE  2F09                     move.l     -[A7], A1
  363. 000003B0  A032                     syscall    FlushEvents
  364. 000003B2  4E75                     rts
  365. 000003B4  2F78 02F0 0004           move.l     [A7 + 0x4], [0x000002F0 /* DoubleTime */]
  366. 000003BA  4E75                     rts
  367. 000003BC  2F78 02F4 0004           move.l     [A7 + 0x4], [0x000002F4 /* CaretTime */]
  368. 000003C2  4E75                     rts
  369. 000003C4  A02C                     syscall    InitApplZone
  370. 000003C6  4EFA 019C                jmp        [PC + 0x19C /* 00000564 */]
  371. 000003CA  225F                     movea.l    A1, [A7]+
  372. 000003CC  205F                     movea.l    A0, [A7]+
  373. 000003CE  A057                     syscall    SetAppBase/SetApplBase
  374. 000003D0  4EFA 0190                jmp        [PC + 0x190 /* 00000562 */]
  375. 000003D4  225F                     movea.l    A1, [A7]+
  376. 000003D6  204F                     movea.l    A0, A7
  377. 000003D8  A019                     syscall    InitZone
  378. 000003DA  DEFC 000E                add.w      A7, 0xE
  379. 000003DE  4EFA 0182                jmp        [PC + 0x182 /* 00000562 */]
  380. 000003E2  225F                     movea.l    A1, [A7]+
  381. 000003E4  205F                     movea.l    A0, [A7]+
  382. 000003E6  A02D                     syscall    SetApplLimit
  383. 000003E8  4EFA 0178                jmp        [PC + 0x178 /* 00000562 */]
  384. 000003EC  A036                     syscall    MoreMasters
  385. 000003EE  4EFA 0174                jmp        [PC + 0x174 /* 00000564 */]
  386. 000003F2  A11A                     syscall    GetZone, flags=1
  387. 000003F4  2F48 0004                move.l     [A7 + 0x4], A0
  388. 000003F8  4EFA 016A                jmp        [PC + 0x16A /* 00000564 */]
  389. 000003FC  225F                     movea.l    A1, [A7]+
  390. 000003FE  205F                     movea.l    A0, [A7]+
  391. 00000400  A01B                     syscall    SetZone
  392. 00000402  4EFA 015E                jmp        [PC + 0x15E /* 00000562 */]
  393. 00000406  2F78 02A6 0004           move.l     [A7 + 0x4], [0x000002A6 /* SysZone */]
  394. 0000040C  4EFA 015C                jmp        [PC + 0x15C /* 0000056A */]
  395. 00000410  2F78 02AA 0004           move.l     [A7 + 0x4], [0x000002AA /* ApplZone */]
  396. 00000416  4EFA 0152                jmp        [PC + 0x152 /* 0000056A */]
  397. 0000041A  225F                     movea.l    A1, [A7]+
  398. 0000041C  201F                     move.l     D0, [A7]+
  399. 0000041E  A122                     syscall    NewHandle, flags=1
  400. 00000420  2E88                     move.l     [A7], A0
  401. 00000422  4EFA 013E                jmp        [PC + 0x13E /* 00000562 */]
  402. 00000426  225F                     movea.l    A1, [A7]+
  403. 00000428  205F                     movea.l    A0, [A7]+
  404. 0000042A  A023                     syscall    DisposHandle/DisposeHandle
  405. 0000042C  4EFA 0134                jmp        [PC + 0x134 /* 00000562 */]
  406. 00000430  225F                     movea.l    A1, [A7]+
  407. 00000432  205F                     movea.l    A0, [A7]+
  408. 00000434  A025                     syscall    GetHandleSize
  409. 00000436  2E80                     move.l     [A7], D0
  410. 00000438  6A06                     bpl        +0x8 /* 00000440 */
  411. 0000043A  4297                     clr.l      [A7]
  412. 0000043C  4EFA 0124                jmp        [PC + 0x124 /* 00000562 */]
  413. label00000440:
  414. 00000440  4EFA 011E                jmp        [PC + 0x11E /* 00000560 */]
  415. 00000444  225F                     movea.l    A1, [A7]+
  416. 00000446  201F                     move.l     D0, [A7]+
  417. 00000448  205F                     movea.l    A0, [A7]+
  418. 0000044A  A024                     syscall    SetHandleSize
  419. 0000044C  4EFA 0114                jmp        [PC + 0x114 /* 00000562 */]
  420. 00000450  225F                     movea.l    A1, [A7]+
  421. 00000452  205F                     movea.l    A0, [A7]+
  422. 00000454  A126                     syscall    HandleZone, flags=1
  423. 00000456  2E88                     move.l     [A7], A0
  424. 00000458  4EFA 0108                jmp        [PC + 0x108 /* 00000562 */]
  425. 0000045C  225F                     movea.l    A1, [A7]+
  426. 0000045E  205F                     movea.l    A0, [A7]+
  427. 00000460  A128                     syscall    RecoverHandle, flags=1
  428. 00000462  2E88                     move.l     [A7], A0
  429. 00000464  4EFA 00FA                jmp        [PC + 0xFA /* 00000560 */]
  430. 00000468  225F                     movea.l    A1, [A7]+
  431. 0000046A  201F                     move.l     D0, [A7]+
  432. 0000046C  205F                     movea.l    A0, [A7]+
  433. 0000046E  A027                     syscall    ReallocateHandle
  434. 00000470  4EFA 00F0                jmp        [PC + 0xF0 /* 00000562 */]
  435. 00000474  225F                     movea.l    A1, [A7]+
  436. 00000476  201F                     move.l     D0, [A7]+
  437. 00000478  A11E                     syscall    NewPtr, flags=1
  438. 0000047A  2E88                     move.l     [A7], A0
  439. 0000047C  4EFA 00E4                jmp        [PC + 0xE4 /* 00000562 */]
  440. 00000480  225F                     movea.l    A1, [A7]+
  441. 00000482  205F                     movea.l    A0, [A7]+
  442. 00000484  A01F                     syscall    DisposPtr/DisposePtr
  443. 00000486  4EFA 00DA                jmp        [PC + 0xDA /* 00000562 */]
  444. 0000048A  225F                     movea.l    A1, [A7]+
  445. 0000048C  205F                     movea.l    A0, [A7]+
  446. 0000048E  A021                     syscall    GetPtrSize
  447. 00000490  2E80                     move.l     [A7], D0
  448. 00000492  6A06                     bpl        +0x8 /* 0000049A */
  449. 00000494  4297                     clr.l      [A7]
  450. 00000496  4EFA 00CA                jmp        [PC + 0xCA /* 00000562 */]
  451. label0000049A:
  452. 0000049A  4EFA 00C4                jmp        [PC + 0xC4 /* 00000560 */]
  453. 0000049E  225F                     movea.l    A1, [A7]+
  454. 000004A0  201F                     move.l     D0, [A7]+
  455. 000004A2  205F                     movea.l    A0, [A7]+
  456. 000004A4  A020                     syscall    SetPtrSize
  457. 000004A6  4EFA 00BA                jmp        [PC + 0xBA /* 00000562 */]
  458. 000004AA  225F                     movea.l    A1, [A7]+
  459. 000004AC  205F                     movea.l    A0, [A7]+
  460. 000004AE  A148                     syscall    PtrZone, flags=1
  461. 000004B0  2E88                     move.l     [A7], A0
  462. 000004B2  4EFA 00AE                jmp        [PC + 0xAE /* 00000562 */]
  463. 000004B6  A01C                     syscall    FreeMem
  464. 000004B8  2F40 0004                move.l     [A7 + 0x4], D0
  465. 000004BC  4EFA 00AC                jmp        [PC + 0xAC /* 0000056A */]
  466. 000004C0  225F                     movea.l    A1, [A7]+
  467. 000004C2  A11D                     syscall    MaxMem, flags=1
  468. 000004C4  2208                     move.l     D1, A0
  469. 000004C6  205F                     movea.l    A0, [A7]+
  470. 000004C8  2081                     move.l     [A0], D1
  471. 000004CA  2E80                     move.l     [A7], D0
  472. 000004CC  4EFA 0092                jmp        [PC + 0x92 /* 00000560 */]
  473. 000004D0  225F                     movea.l    A1, [A7]+
  474. 000004D2  201F                     move.l     D0, [A7]+
  475. 000004D4  A04C                     syscall    CompactMem
  476. 000004D6  2E80                     move.l     [A7], D0
  477. 000004D8  4EFA 0086                jmp        [PC + 0x86 /* 00000560 */]
  478. 000004DC  225F                     movea.l    A1, [A7]+
  479. 000004DE  201F                     move.l     D0, [A7]+
  480. 000004E0  A040                     syscall    ResrvMem/ReserveMem
  481. 000004E2  4EFA 007E                jmp        [PC + 0x7E /* 00000562 */]
  482. 000004E6  225F                     movea.l    A1, [A7]+
  483. 000004E8  201F                     move.l     D0, [A7]+
  484. 000004EA  A04D                     syscall    PurgeMem
  485. 000004EC  4EFA 0074                jmp        [PC + 0x74 /* 00000562 */]
  486. 000004F0  225F                     movea.l    A1, [A7]+
  487. 000004F2  205F                     movea.l    A0, [A7]+
  488. 000004F4  A02B                     syscall    EmptyHandle
  489. 000004F6  4EFA 006A                jmp        [PC + 0x6A /* 00000562 */]
  490. export_5:
  491. fn000004FA:
  492. 000004FA  225F                     movea.l    A1, [A7]+
  493. 000004FC  205F                     movea.l    A0, [A7]+
  494. 000004FE  A029                     syscall    HLock
  495. 00000500  4EFA 0060                jmp        [PC + 0x60 /* 00000562 */]
  496. export_4:
  497. fn00000504:
  498. 00000504  225F                     movea.l    A1, [A7]+
  499. 00000506  205F                     movea.l    A0, [A7]+
  500. 00000508  A02A                     syscall    HUnlock
  501. 0000050A  4EFA 0056                jmp        [PC + 0x56 /* 00000562 */]
  502. 0000050E  225F                     movea.l    A1, [A7]+
  503. 00000510  205F                     movea.l    A0, [A7]+
  504. 00000512  A049                     syscall    HPurge
  505. 00000514  4EFA 004C                jmp        [PC + 0x4C /* 00000562 */]
  506. 00000518  225F                     movea.l    A1, [A7]+
  507. 0000051A  205F                     movea.l    A0, [A7]+
  508. 0000051C  A04A                     syscall    HNoPurge
  509. 0000051E  4EFA 0042                jmp        [PC + 0x42 /* 00000562 */]
  510. 00000522  225F                     movea.l    A1, [A7]+
  511. 00000524  205F                     movea.l    A0, [A7]+
  512. 00000526  A04B                     syscall    SetGrowZone
  513. 00000528  4EFA 0038                jmp        [PC + 0x38 /* 00000562 */]
  514. 0000052C  2F78 0328 0004           move.l     [A7 + 0x4], [0x00000328 /* GZRootHnd */]
  515. 00000532  4E75                     rts
  516. 00000534  221F                     move.l     D1, [A7]+
  517. 00000536  201F                     move.l     D0, [A7]+
  518. 00000538  225F                     movea.l    A1, [A7]+
  519. 0000053A  205F                     movea.l    A0, [A7]+
  520. 0000053C  A02E                     syscall    BlockMove/BlockMoveData
  521. 0000053E  2241                     movea.l    A1, D1
  522. 00000540  4EFA 0020                jmp        [PC + 0x20 /* 00000562 */]
  523. 00000544  2F78 0108 0004           move.l     [A7 + 0x4], [0x00000108 /* MemTop */]
  524. 0000054A  4EFA 001E                jmp        [PC + 0x1E /* 0000056A */]
  525. 0000054E  3F78 0220 0004           move.w     [A7 + 0x4], [0x00000220 /* MemErr */]
  526. 00000554  4E75                     rts
  527. 00000556  2F78 0130 0004           move.l     [A7 + 0x4], [0x00000130 /* ApplLimit */]
  528. 0000055C  4EFA 000C                jmp        [PC + 0xC /* 0000056A */]
  529. label00000560:
  530. 00000560  7000                     moveq.l    D0, 0x00
  531. label00000562:
  532. 00000562  2F09                     move.l     -[A7], A1
  533. label00000564:
  534. 00000564  31C0 0220                move.w     [0x00000220 /* MemErr */], D0
  535. 00000568  4E75                     rts
  536. label0000056A:
  537. 0000056A  7000                     moveq.l    D0, 0x00
  538. 0000056C  60F6                     bra        -0x8 /* 00000564 */
  539. export_2:
  540. 0000056E  50E7                     st         -[A7]
  541. 00000570  4EBA FC82                jsr        [PC - 0x37E /* 000001F4 */]
  542. 00000574  4E56 FFF0                link       A6, -0x0010
  543. 00000578  3F3C FFFF                move.w     -[A7], 0xFFFF
  544. 0000057C  4267                     clr.w      -[A7]
  545. 0000057E  4EBA FE2A                jsr        [PC - 0x1D6 /* 000003AA */]
  546. 00000582  4EAD 0072                jsr        [A5 + 0x72 /* export_10 */]
  547. 00000586  41ED 0072                lea.l      A0, [A5 + 0x72 /* export_10 */]
  548. 0000058A  2F08                     move.l     -[A7], A0
  549. 0000058C  A9F1                     syscall    UnloadSeg
  550. 0000058E  4EAD 0062                jsr        [A5 + 0x62 /* export_8 */]
  551. 00000592  A850                     syscall    InitCursor
  552. 00000594  4EBA 0030                jsr        [PC + 0x30 /* 000005C6 */]
  553. 00000598  4EAD 0052                jsr        [A5 + 0x52 /* export_6 */]
  554. 0000059C  4E5E                     unlink     A6
  555. 0000059E  4EBA FD9A                jsr        [PC - 0x266 /* 0000033A */]
  556. 000005A2  4E5E                     unlink     A6
  557. 000005A4  4E75                     rts
  558. 000005A6  4D41                     chk.w      D6, D1
  559. 000005A8  494E                     chk.w      D4, A6
  560. 000005AA  2020                     move.l     D0, -[A0]
  561. 000005AC  2020                     move.l     D0, -[A0]
  562. 000005AE  4E56 FFE8                link       A6, -0x0018
  563. 000005B2  4E71                     nop
  564. 000005B4  4E71                     nop
  565. 000005B6  4E5E                     unlink     A6
  566. 000005B8  205F                     movea.l    A0, [A7]+
  567. 000005BA  584F                     addq.w     A7, 4
  568. 000005BC  4ED0                     jmp        [A0]
  569. 000005BE  5245                     addq.w     D5, 1
  570. 000005C0  4652                     not.w      [A2]
  571. 000005C2  4553                     chk.w      D2, [A3]
  572. 000005C4  4844                     swap.w     D4
  573. export_1:
  574. fn000005C6:
  575. 000005C6  4E56 FEBC                link       A6, -0x0144
  576. 000005CA  4E71                     nop
  577. 000005CC  4E71                     nop
  578. 000005CE  422E FFEF                clr.b      [A6 - 0x11]
  579. 000005D2  594F                     subq.w     A7, 4
  580. 000005D4  3F3C 0002                move.w     -[A7], 0x2
  581. 000005D8  42A7                     clr.l      -[A7]
  582. 000005DA  70FF                     moveq.l    D0, 0xFFFFFFFF
  583. 000005DC  2F00                     move.l     -[A7], D0
  584. 000005DE  A97C                     syscall    GetNewDialog
  585. 000005E0  2D5F FFEA                move.l     [A6 - 0x16], [A7]+
  586. 000005E4  2F2E FFEA                move.l     -[A7], [A6 - 0x16]
  587. 000005E8  A915                     syscall    ShowWindow
  588. 000005EA  2F2E FFEA                move.l     -[A7], [A6 - 0x16]
  589. 000005EE  A91F                     syscall    SelectWindow
  590. 000005F0  2F2E FFEA                move.l     -[A7], [A6 - 0x16]
  591. 000005F4  A873                     syscall    SetPort
  592. 000005F6  2D6E FFEA FEBC           move.l     [A6 - 0x144], [A6 - 0x16]
  593. 000005FC  206E FEBC                movea.l    A0, [A6 - 0x144]
  594. 00000600  2008                     move.l     D0, A0
  595. 00000602  6602                     bne        +0x4 /* 00000606 */
  596. 00000604  4E40                     trap       0
  597. label00000606:
  598. 00000606  2D68 00A0 FEC0           move.l     [A6 - 0x140], [A0 + 0xA0]
  599. 0000060C  2F2E FEC0                move.l     -[A7], [A6 - 0x140]
  600. 00000610  4EBA FEE8                jsr        [PC - 0x118 /* 000004FA */]
  601. 00000614  206E FEC0                movea.l    A0, [A6 - 0x140]
  602. 00000618  2008                     move.l     D0, A0
  603. 0000061A  6602                     bne        +0x4 /* 0000061E */
  604. 0000061C  4E40                     trap       0
  605. label0000061E:
  606. 0000061E  2050                     movea.l    A0, [A0]
  607. 00000620  2008                     move.l     D0, A0
  608. 00000622  6602                     bne        +0x4 /* 00000626 */
  609. 00000624  4E40                     trap       0
  610. label00000626:
  611. 00000626  4268 0050                clr.w      [A0 + 0x50]
  612. 0000062A  4267                     clr.w      -[A7]
  613. 0000062C  A88A                     syscall    TextSize
  614. 0000062E  206E FEC0                movea.l    A0, [A6 - 0x140]
  615. 00000632  2008                     move.l     D0, A0
  616. 00000634  6602                     bne        +0x4 /* 00000638 */
  617. 00000636  4E40                     trap       0
  618. label00000638:
  619. 00000638  2050                     movea.l    A0, [A0]
  620. 0000063A  2008                     move.l     D0, A0
  621. 0000063C  6602                     bne        +0x4 /* 00000640 */
  622. 0000063E  4E40                     trap       0
  623. label00000640:
  624. 00000640  4268 004A                clr.w      [A0 + 0x4A]
  625. 00000644  4267                     clr.w      -[A7]
  626. 00000646  A887                     syscall    TextFont
  627. 00000648  206E FEC0                movea.l    A0, [A6 - 0x140]
  628. 0000064C  2008                     move.l     D0, A0
  629. 0000064E  6602                     bne        +0x4 /* 00000652 */
  630. 00000650  4E40                     trap       0
  631. label00000652:
  632. 00000652  2050                     movea.l    A0, [A0]
  633. 00000654  2008                     move.l     D0, A0
  634. 00000656  6602                     bne        +0x4 /* 0000065A */
  635. 00000658  4E40                     trap       0
  636. label0000065A:
  637. 0000065A  4268 004A                clr.w      [A0 + 0x4A]
  638. 0000065E  206E FEC0                movea.l    A0, [A6 - 0x140]
  639. 00000662  2008                     move.l     D0, A0
  640. 00000664  6602                     bne        +0x4 /* 00000668 */
  641. 00000666  4E40                     trap       0
  642. label00000668:
  643. 00000668  2050                     movea.l    A0, [A0]
  644. 0000066A  2008                     move.l     D0, A0
  645. 0000066C  6602                     bne        +0x4 /* 00000670 */
  646. 0000066E  4E40                     trap       0
  647. label00000670:
  648. 00000670  317C 000C 001A           move.w     [A0 + 0x1A], 0xC
  649. 00000676  206E FEC0                movea.l    A0, [A6 - 0x140]
  650. 0000067A  2008                     move.l     D0, A0
  651. 0000067C  6602                     bne        +0x4 /* 00000680 */
  652. 0000067E  4E40                     trap       0
  653. label00000680:
  654. 00000680  2050                     movea.l    A0, [A0]
  655. 00000682  2008                     move.l     D0, A0
  656. 00000684  6602                     bne        +0x4 /* 00000688 */
  657. 00000686  4E40                     trap       0
  658. label00000688:
  659. 00000688  317C 0010 0018           move.w     [A0 + 0x18], 0x10
  660. 0000068E  2F2E FEC0                move.l     -[A7], [A6 - 0x140]
  661. 00000692  4EBA FE70                jsr        [PC - 0x190 /* 00000504 */]
  662. 00000696  422D FD57                clr.b      [A5 - 0x2A9]
  663. label0000069A:
  664. 0000069A  42A7                     clr.l      -[A7]
  665. 0000069C  486E FED0                pea.l      [A6 - 0x130]
  666. 000006A0  A991                     syscall    ModalDialog
  667. 000006A2  2F2E FFEA                move.l     -[A7], [A6 - 0x16]
  668. 000006A6  302E FED0                move.w     D0, [A6 - 0x130]
  669. 000006AA  5340                     subq.w     D0, 1
  670. 000006AC  4E76                     trapv
  671. 000006AE  5240                     addq.w     D0, 1
  672. 000006B0  3F00                     move.w     -[A7], D0
  673. 000006B2  486E FFE0                pea.l      [A6 - 0x20]
  674. 000006B6  486E FFDA                pea.l      [A6 - 0x26]
  675. 000006BA  486E FFE2                pea.l      [A6 - 0x1E]
  676. 000006BE  A98D                     syscall    GetDialogItem/GetDItem
  677. 000006C0  2D6E FFDA FFD6           move.l     [A6 - 0x2A], [A6 - 0x26]
  678. 000006C6  0C6E 0001 FED0           cmpi.w     [A6 - 0x130], 0x1
  679. 000006CC  6600 0008                bne        +0xA /* 000006D6 */
  680. 000006D0  1B7C 0001 FD57           move.b     [A5 - 0x2A9], 0x1
  681. label000006D6:
  682. 000006D6  0C6E 0002 FED0           cmpi.w     [A6 - 0x130], 0x2
  683. 000006DC  6600 000E                bne        +0x10 /* 000006EC */
  684. 000006E0  1D7C 0001 FFEF           move.b     [A6 - 0x11], 0x1
  685. 000006E6  1B7C 0001 FD57           move.b     [A5 - 0x2A9], 0x1
  686. label000006EC:
  687. 000006EC  4A2D FD57                tst.b      [A5 - 0x2A9]
  688. 000006F0  67A8                     beq        -0x56 /* 0000069A */
  689. 000006F2  2F2E FFEA                move.l     -[A7], [A6 - 0x16]
  690. 000006F6  A983                     syscall    DisposeDialog
  691. 000006F8  4A2E FFEF                tst.b      [A6 - 0x11]
  692. 000006FC  6700 0006                beq        +0x8 /* 00000704 */
  693. 00000700  4EBA 0026                jsr        [PC + 0x26 /* 00000728 */]
  694. label00000704:
  695. 00000704  4E5E                     unlink     A6
  696. 00000706  4E75                     rts
  697. 00000708  4441                     neg.w      D1
  698. 0000070A  424F                     clr.w      A7
  699. 0000070C  5554                     subq.w     [A4], 2
  700. 0000070E  4845                     swap.w     D5
  701. 00000710  4E56 FFE8                link       A6, -0x0018
  702. 00000714  4E71                     nop
  703. 00000716  4E71                     nop
  704. 00000718  4E5E                     unlink     A6
  705. 0000071A  205F                     movea.l    A0, [A7]+
  706. 0000071C  584F                     addq.w     A7, 4
  707. 0000071E  4ED0                     jmp        [A0]
  708. 00000720  5245                     addq.w     D5, 1
  709. 00000722  4652                     not.w      [A2]
  710. 00000724  4553                     chk.w      D2, [A3]
  711. 00000726  4844                     swap.w     D4
  712. fn00000728:
  713. 00000728  4E56 FEBC                link       A6, -0x0144
  714. 0000072C  4E71                     nop
  715. 0000072E  4E71                     nop
  716. 00000730  422E FFEF                clr.b      [A6 - 0x11]
  717. 00000734  594F                     subq.w     A7, 4
  718. 00000736  3F3C 0004                move.w     -[A7], 0x4
  719. 0000073A  42A7                     clr.l      -[A7]
  720. 0000073C  70FF                     moveq.l    D0, 0xFFFFFFFF
  721. 0000073E  2F00                     move.l     -[A7], D0
  722. 00000740  A97C                     syscall    GetNewDialog
  723. 00000742  2D5F FFEA                move.l     [A6 - 0x16], [A7]+
  724. 00000746  2F2E FFEA                move.l     -[A7], [A6 - 0x16]
  725. 0000074A  A915                     syscall    ShowWindow
  726. 0000074C  2F2E FFEA                move.l     -[A7], [A6 - 0x16]
  727. 00000750  A91F                     syscall    SelectWindow
  728. 00000752  2F2E FFEA                move.l     -[A7], [A6 - 0x16]
  729. 00000756  A873                     syscall    SetPort
  730. 00000758  2D6E FFEA FEBC           move.l     [A6 - 0x144], [A6 - 0x16]
  731. 0000075E  206E FEBC                movea.l    A0, [A6 - 0x144]
  732. 00000762  2008                     move.l     D0, A0
  733. 00000764  6602                     bne        +0x4 /* 00000768 */
  734. 00000766  4E40                     trap       0
  735. label00000768:
  736. 00000768  2D68 00A0 FEC0           move.l     [A6 - 0x140], [A0 + 0xA0]
  737. 0000076E  2F2E FEC0                move.l     -[A7], [A6 - 0x140]
  738. 00000772  4EBA FD86                jsr        [PC - 0x27A /* 000004FA */]
  739. 00000776  206E FEC0                movea.l    A0, [A6 - 0x140]
  740. 0000077A  2008                     move.l     D0, A0
  741. 0000077C  6602                     bne        +0x4 /* 00000780 */
  742. 0000077E  4E40                     trap       0
  743. label00000780:
  744. 00000780  2050                     movea.l    A0, [A0]
  745. 00000782  2008                     move.l     D0, A0
  746. 00000784  6602                     bne        +0x4 /* 00000788 */
  747. 00000786  4E40                     trap       0
  748. label00000788:
  749. 00000788  317C 000C 0050           move.w     [A0 + 0x50], 0xC
  750. 0000078E  3F3C 000C                move.w     -[A7], 0xC
  751. 00000792  A88A                     syscall    TextSize
  752. 00000794  206E FEC0                movea.l    A0, [A6 - 0x140]
  753. 00000798  2008                     move.l     D0, A0
  754. 0000079A  6602                     bne        +0x4 /* 0000079E */
  755. 0000079C  4E40                     trap       0
  756. label0000079E:
  757. 0000079E  2050                     movea.l    A0, [A0]
  758. 000007A0  2008                     move.l     D0, A0
  759. 000007A2  6602                     bne        +0x4 /* 000007A6 */
  760. 000007A4  4E40                     trap       0
  761. label000007A6:
  762. 000007A6  4268 004A                clr.w      [A0 + 0x4A]
  763. 000007AA  4267                     clr.w      -[A7]
  764. 000007AC  A887                     syscall    TextFont
  765. 000007AE  206E FEC0                movea.l    A0, [A6 - 0x140]
  766. 000007B2  2008                     move.l     D0, A0
  767. 000007B4  6602                     bne        +0x4 /* 000007B8 */
  768. 000007B6  4E40                     trap       0
  769. label000007B8:
  770. 000007B8  2050                     movea.l    A0, [A0]
  771. 000007BA  2008                     move.l     D0, A0
  772. 000007BC  6602                     bne        +0x4 /* 000007C0 */
  773. 000007BE  4E40                     trap       0
  774. label000007C0:
  775. 000007C0  4268 004A                clr.w      [A0 + 0x4A]
  776. 000007C4  206E FEC0                movea.l    A0, [A6 - 0x140]
  777. 000007C8  2008                     move.l     D0, A0
  778. 000007CA  6602                     bne        +0x4 /* 000007CE */
  779. 000007CC  4E40                     trap       0
  780. label000007CE:
  781. 000007CE  2050                     movea.l    A0, [A0]
  782. 000007D0  2008                     move.l     D0, A0
  783. 000007D2  6602                     bne        +0x4 /* 000007D6 */
  784. 000007D4  4E40                     trap       0
  785. label000007D6:
  786. 000007D6  317C 000C 001A           move.w     [A0 + 0x1A], 0xC
  787. 000007DC  206E FEC0                movea.l    A0, [A6 - 0x140]
  788. 000007E0  2008                     move.l     D0, A0
  789. 000007E2  6602                     bne        +0x4 /* 000007E6 */
  790. 000007E4  4E40                     trap       0
  791. label000007E6:
  792. 000007E6  2050                     movea.l    A0, [A0]
  793. 000007E8  2008                     move.l     D0, A0
  794. 000007EA  6602                     bne        +0x4 /* 000007EE */
  795. 000007EC  4E40                     trap       0
  796. label000007EE:
  797. 000007EE  317C 0010 0018           move.w     [A0 + 0x18], 0x10
  798. 000007F4  2F2E FEC0                move.l     -[A7], [A6 - 0x140]
  799. 000007F8  4EBA FD0A                jsr        [PC - 0x2F6 /* 00000504 */]
  800. 000007FC  422D FD57                clr.b      [A5 - 0x2A9]
  801. label00000800:
  802. 00000800  42A7                     clr.l      -[A7]
  803. 00000802  486E FED0                pea.l      [A6 - 0x130]
  804. 00000806  A991                     syscall    ModalDialog
  805. 00000808  2F2E FFEA                move.l     -[A7], [A6 - 0x16]
  806. 0000080C  302E FED0                move.w     D0, [A6 - 0x130]
  807. 00000810  5340                     subq.w     D0, 1
  808. 00000812  4E76                     trapv
  809. 00000814  5240                     addq.w     D0, 1
  810. 00000816  3F00                     move.w     -[A7], D0
  811. 00000818  486E FFE0                pea.l      [A6 - 0x20]
  812. 0000081C  486E FFDA                pea.l      [A6 - 0x26]
  813. 00000820  486E FFE2                pea.l      [A6 - 0x1E]
  814. 00000824  A98D                     syscall    GetDialogItem/GetDItem
  815. 00000826  2D6E FFDA FFD6           move.l     [A6 - 0x2A], [A6 - 0x26]
  816. 0000082C  0C6E 0001 FED0           cmpi.w     [A6 - 0x130], 0x1
  817. 00000832  6600 0008                bne        +0xA /* 0000083C */
  818. 00000836  1B7C 0001 FD57           move.b     [A5 - 0x2A9], 0x1
  819. label0000083C:
  820. 0000083C  0C6E 0002 FED0           cmpi.w     [A6 - 0x130], 0x2
  821. 00000842  6600 000E                bne        +0x10 /* 00000852 */
  822. 00000846  1D7C 0001 FFEF           move.b     [A6 - 0x11], 0x1
  823. 0000084C  1B7C 0001 FD57           move.b     [A5 - 0x2A9], 0x1
  824. label00000852:
  825. 00000852  4A2D FD57                tst.b      [A5 - 0x2A9]
  826. 00000856  67A8                     beq        -0x56 /* 00000800 */
  827. 00000858  2F2E FFEA                move.l     -[A7], [A6 - 0x16]
  828. 0000085C  A983                     syscall    DisposeDialog
  829. 0000085E  4A2E FFEF                tst.b      [A6 - 0x11]
  830. 00000862  6700 0006                beq        +0x8 /* 0000086A */
  831. 00000866  4EBA FD5E                jsr        [PC - 0x2A2 /* 000005C6 */]
  832. label0000086A:
  833. 0000086A  4E5E                     unlink     A6
  834. 0000086C  4E75                     rts
  835. 0000086E  4441                     neg.w      D1
  836. 00000870  424F                     clr.w      A7
  837. 00000872  5554                     subq.w     [A4], 2
  838. 00000874  3220                     move.w     D1, -[A0]
  839.